package com.android.clinic.doctors.app.entity;

import android.os.Parcel;
import android.os.Parcelable;

/**
 * Created by cheng on 2018/6/27.
 */
public class InquiryInfo implements Parcelable {

    private String id;
    private String userId;
    private String doctorId;
    private String noticeId;
    private String description;
    private String imgUrl;
    private String area;
    private String createTime;
    private String status;
    private String nickName;
    private String name;

    public String getId() {
        return id;
    }

    public void setId(String id) {
        this.id = id;
    }

    public String getUserId() {
        return userId;
    }

    public void setUserId(String userId) {
        this.userId = userId;
    }

    public String getDoctorId() {
        return doctorId;
    }

    public void setDoctorId(String doctorId) {
        this.doctorId = doctorId;
    }

    public String getNoticeId() {
        return noticeId;
    }

    public void setNoticeId(String noticeId) {
        this.noticeId = noticeId;
    }

    public String getDescription() {
        return description;
    }

    public void setDescription(String description) {
        this.description = description;
    }

    public String getImgUrl() {
        return imgUrl;
    }

    public void setImgUrl(String imgUrl) {
        this.imgUrl = imgUrl;
    }

    public String getArea() {
        return area;
    }

    public void setArea(String area) {
        this.area = area;
    }

    public String getCreateTime() {
        return createTime;
    }

    public void setCreateTime(String createTime) {
        this.createTime = createTime;
    }

    public String getStatus() {
        return status;
    }

    public void setStatus(String status) {
        this.status = status;
    }

    public String getNickName() {
        return nickName;
    }

    public void setNickName(String nickName) {
        this.nickName = nickName;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    @Override
    public int describeContents() {
        return 0;
    }

    @Override
    public void writeToParcel(Parcel dest, int flags) {
        dest.writeString(id);
        dest.writeString(userId);
        dest.writeString(doctorId);
        dest.writeString(noticeId);
        dest.writeString(description);
        dest.writeString(imgUrl);
        dest.writeString(area);
        dest.writeString(createTime);
        dest.writeString(status);
        dest.writeString(nickName);
        dest.writeString(name);
    }

    protected InquiryInfo(Parcel in) {
        id = in.readString();
        userId = in.readString();
        doctorId = in.readString();
        noticeId = in.readString();
        description = in.readString();
        imgUrl = in.readString();
        area = in.readString();
        createTime = in.readString();
        status = in.readString();
        nickName = in.readString();
        name = in.readString();
    }

    public static final Creator<InquiryInfo> CREATOR = new Creator<InquiryInfo>() {
        @Override
        public InquiryInfo createFromParcel(Parcel in) {
            return new InquiryInfo(in);
        }

        @Override
        public InquiryInfo[] newArray(int size) {
            return new InquiryInfo[size];
        }
    };
}
